﻿#region Copyright

// /*
// SilverlightInEnterprise
// SilverlightInEnterprise.Caching.ServiceContract
// IStaticDataService.cs
// 
// Author: Matt Van Horn
// Created 11/16/2011 10:00 AM
// Copyright: Silverlight in the Enterprise www.slinenterprise.com
// 
// Licensed under MS-PL http://www.opensource.org/licenses/MS-PL and while you 
// may use this in anyway you see fit and owe us nothing to do so, we wouldn't mind knowing that you got value out of the work we did (so we will do more) so 
// we ask that you leave a comment on www.slinenterprise.com or on the codeplex site slinenterprise.codeplex.com
// 
// */

#endregion

using System.Collections.Generic;
using System.ServiceModel;
using SilverlightInEnterprise.Caching.ServiceContract.DTO;

namespace SilverlightInEnterprise.Caching.ServiceContract
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IStaticDataService" in both code and config file together.
    [ServiceContract(Namespace = Constants.NAMESPACE, Name = Constants.SERVICE_NAME)]
    public interface IStaticDataService
    {
        [OperationContract]
        IEnumerable<Product> GetProducts();

        [OperationContract]
        IEnumerable<ProductCategory> GetProductCategories();
    }
}